let gulp = require('gulp')
let plugins = require('gulp-load-plugins')({
    pattern: ['gulp-*', 'gulp.*', 'run-sequence', 'del'], scope: ['devDependencies']
})

let ispod = false

let tasks = require('require-dir')('./tasks', { recurse: true })
Object.keys(tasks).forEach(task => {
    tasks[task](gulp, plugins, ispod)
})

gulp.task('default', () => {
    plugins.util.log(plugins.util.colors.red.bold("run gulp default"))
    // console.log("run gulp default")
})

